<?php
/**
 * TomatoCMS
 *
 * LICENSE
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE Version 2
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.gnu.org/licenses/gpl-2.0.txt
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@tomatocms.com so we can send you a copy immediately.
 *
 * @copyright    Copyright (c) 2009-2010 TIG Corporation (http://www.tig.vn)
 * @license        http://www.gnu.org/licenses/gpl-2.0.txt GNU GENERAL PUBLIC LICENSE Version 2
 * @version        $Id: default.phtml 5117 2010-08-30 03:18:04Z huuphuoc $
 * @since        2.0.0
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"<?php if ($this->APP_LANG_RTL) : ?> dir="rtl"<?php endif; ?>>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->CHARSET; ?>" />
    <meta name="robots" content="index, follow" />
    <?php echo $this->headMeta(); ?>
    <?php echo $this->headTitle(); ?>
    <link rel="shortcut icon" type="image/x-icon" href="<?php echo $this->APP_STATIC_SERVER; ?>/skins/<?php echo $this->APP_TEMPLATE; ?>/<?php echo $this->APP_SKIN; ?>/images/favicon.ico" />

    <?php
    $this->headLink()
        ->prependStylesheet($this->APP_STATIC_SERVER . '/skins/' . $this->APP_TEMPLATE . '/' . $this->APP_SKIN . '/default.css');
    ?>

    <?php
    /**
     * Compress CSS and JS if it is enabled
     * @since 2.0.6
     */
    echo $this->compressor('css');
    ?>
    <!--[if lte IE 7]>
    <link href="<?php echo $this->APP_STATIC_SERVER; ?>/skins/<?php echo $this->APP_TEMPLATE; ?>/<?php echo $this->APP_SKIN; ?>/css/patches/patch_style.css" media="screen" rel="stylesheet" type="text/css" />
    <![endif]-->
    <script src="<?php echo $this->APP_STATIC_SERVER;?>/js/jquery/jquery.min.js" type="text/javascript"></script>
</head>
<body>
<!-- skip link navigation -->
<ul id="skiplinks">
    <li>
        <a class="skip" href="#nav">Skip to navigation (Press Enter).</a>
    </li>
    <li>
        <a class="skip" href="#col3">Skip to main content (Press Enter).</a>
    </li>
</ul>
<div class="page_margins">
    <!-- begin: #header -->
    <?php echo $this->render('_header.phtml'); ?>
    <!-- end: #header -->
    <div class="page">
        <!-- begin: main content area #main -->
        <div id="wrap">
            <?php echo $this->layoutLoader(); ?>
        </div>
        <!-- end: #main -->
    </div>
    <!-- begin: #footer -->
    <?php echo $this->render('_footer.phtml'); ?>
    <!-- end: #footer -->
</div>
<!-- full skip link functionality in webkit browsers -->
<script src="<?php echo $this->APP_STATIC_SERVER . '/skins/' . $this->APP_TEMPLATE . '/' . $this->APP_SKIN;?>/css/core/js/yaml-focusfix.js" type="text/javascript"></script>
<!-- JS -->
<script src="<?php echo $this->APP_STATIC_SERVER . '/skins/' . $this->APP_TEMPLATE . '/' . $this->APP_SKIN;?>/js/cufon.js" type="text/javascript"></script>
<script src="<?php echo $this->APP_STATIC_SERVER . '/skins/' . $this->APP_TEMPLATE . '/' . $this->APP_SKIN;?>/js/Agency_400.font.js" type="text/javascript"></script>
<script src="<?php echo $this->APP_STATIC_SERVER . '/skins/' . $this->APP_TEMPLATE . '/' . $this->APP_SKIN;?>/js/Impact_400.font.js" type="text/javascript"></script>
<script src="<?php echo $this->APP_STATIC_SERVER . '/skins/' . $this->APP_TEMPLATE . '/' . $this->APP_SKIN;?>/js/swfobject/swfobject.js" type="text/javascript"></script>

<script type="text/javascript">
Cufon.set('fontFamily', 'Impact').replace('.cufon_title h2');
Cufon.set('fontFamily', 'Agency').replace('.cufon_title h3')('.contact_tilte h2');

var flashvars = {};
var params = {
    allowScriptAccess: "sameDomain",
    allowFullScreen: "false",
    quality: "high",
    bgcolor: "#e3e3e3"
    };
var attributes = {};

swfobject.embedSWF("<?php echo $this->APP_STATIC_SERVER . '/skins/' . $this->APP_TEMPLATE . '/' . $this->APP_SKIN;?>/swf/header.swf", "banner", "980", "418", "9.0.0","js/swfobject/expressInstall.swf", flashvars, params, attributes);

</script>
</body>
</html>
